<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- Bootstrap -->
    <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
    <meta charset="utf-8">
  </head>

<script src="http://code.jquery.com/jquery.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript">
	
function send(cmd){
	cmd=localStorage.getItem('link.'+cmd);
	console.log(cmd)
	$.get(cmd,function(data){
		console.log(data)
	})
}
</script>

    


<div class="container-fluid">
	<div class="row-fluid">
		<div class="span12">
			<ul class="nav nav-tabs">
				<li class="active">
					<a href="#">首页</a>
				</li>
				<li>
					<a href="config_all.html">全部配置</a>
				</li>
				<li class="dropdown pull-right">
					 <a href="#" data-toggle="dropdown" class="dropdown-toggle">下拉<strong class="caret"></strong></a>
					<ul class="dropdown-menu">
						<li>
							<a href="#">操作</a>
						</li>
						<li>
							<a href="#">设置栏目</a>
						</li>
						<li>
							<a href="#">更多设置</a>
						</li>
						<li class="divider">
						</li>
						<li>
							<a href="#">分割线</a>
						</li>
					</ul>
				</li>
			</ul>
			<ul class="thumbnails">
				<li class="span3">
					<div class="thumbnail">
						<div class="caption">
							<h3>
								开机
							</h3>
							<p>
								<a class="btn btn-primary" onClick="send('开机')" href="#">发送命令</a> <a class="btn" href="config.html?key=开机">配置</a>
							</p>
						</div>
					</div>
				</li>
				<li class="span3">
					<div class="thumbnail">
						<div class="caption">
							<h3>
								关机
							</h3>
							<p>
								<a class="btn btn-primary" onClick="send('关机')" href="#">发送命令</a> <a class="btn" href="config.html?key=关机">配置</a>
							</p>
						</div>
					</div>
				</li>
				<li class="span3">
					<div class="thumbnail">
						<div class="caption">
							<h3>
								锁屏
							</h3>
							<p>
								<a class="btn btn-primary" onClick="send('锁屏')" href="#">发送命令</a> <a class="btn" href="config.html?key=锁屏">配置</a>
							</p>
						</div>
					</div>
				</li>
				<li class="span3">
					<div class="thumbnail">
						<div class="caption">
							<h3>
								重启
							</h3>
							<p>
								<a class="btn btn-primary" href="#">发送命令</a> <a class="btn" href="config.html?key=重启">配置</a>
							</p>
						</div>
					</div>
				</li>
				
				
			</ul>
			<ul class="thumbnails">
				<li class="span3">
					<div class="thumbnail">
						<div class="caption">
							<h3>
								音量加
							</h3>
							<p>
								<a class="btn btn-primary" onClick="send('音量加')" href="#">发送命令</a> <a class="btn" href="config.html?key=音量加">配置</a>
							</p>
						</div>
					</div>
				</li>
				<li class="span3">
					<div class="thumbnail">
						<div class="caption">
							<h3>
								音量减
							</h3>
							<p>
								<a class="btn btn-primary" onClick="send('音量减')" href="#">发送命令</a> <a class="btn" href="config.html?key=音量减">配置</a>
							</p>
						</div>
					</div>
				</li>
				<li class="span3">
					<div class="thumbnail">
						<div class="caption">
							<h3>
								静音
							</h3>
							<p>
								<a class="btn btn-primary" onClick="send('静音')" href="#">发送命令</a> <a class="btn" href="config.html?key=静音">配置</a>
							</p>
						</div>
					</div>
				</li>
				<li class="span3">
					<div class="thumbnail">
						<div class="caption">
							<h3>
								取消静音
							</h3>
							<p>
								<a class="btn btn-primary" onClick="send('取消静音')" href="#">发送命令</a> <a class="btn" href="config.html?key=取消静音">配置</a>
							</p>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</div>
</div>